<?php
require '../../mainfile.php';
require XOOPS_MODULE_PATH.'/scuttle/class/ActionFrame.class.php';

$root =& XCube_Root::getSingleton();
$root->mController->executeHeader();
$actionName = isset($_GET['action']) ? trim($_GET['action']) : 'default';
$scuttle =& new Scuttle_ActionFrame(false);
$scuttle->setActionName($actionName);
$root->mController->mExecute->add(array(&$scuttle, 'execute'));
$root->mController->execute();
$root->mController->executeView();
?>